#ifndef FASTQUEUENODE_H_
#define FASTQUEUENODE_H_

template <class T>
class FastQueueNode
{
	const T value;
	FastQueueNode<T> * next;
public:
	FastQueueNode(T & v, FastQueueNode<T> * n) : value(v), next(n) {}
	virtual ~FastQueueNode() {};
	const T & getValue() {return value;}
	FastQueueNode<T> * getNext() {return next;}
	void setNext(FastQueueNode<T> * n) {next = n;}
};

#endif /*FASTQUEUENODE_H_*/
